<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>权重测试</title>
  <style>
  a {
    color: black !important;
  }
  #container #test a {
    color: #f40;
  }
  #test .test .link {
    color: #fc0;
  }
  #test .test a.link {
    color: #ff0;
  }
  #container a.link:link {
    color: #0ff;
  }
  #container  a.link {
    color: #0cf;
  }
  #container * .link {
    color: #0fc;
  }
  .test a.link:link {
    color: #0c0;
  }
  * {
    color: #008c8c;
  }
  </style>
</head>
<body>
  <div id="container">
    <div id="test" class="test">
      Lorem.
      <a href="" class="link" style="color: lightslategrey;">
        超链接
      </a>
    </div>
  </div>
</body>
</html>